package com.xgzit.xgzmall.product.dao;

import com.xgzit.xgzmall.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 品牌分类关联
 *
 * @author xgz
 * @email 923904706@qq.com
 * @date 2021-03-20 14:49:09
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {

   /**
   * 更新分类
   * @param catId: 分类id
   * @param name: 分类名称
   */
    void updateCategory(@Param("catId") Long catId, @Param("name")String name);
}
